package com.gt.web.srv.web.api.command;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;

/**
 * @Author jh
 * @Date 2024/5/20 16:50
 * @PackageName:com.gt.web.srv.domain
 * @ClassName: Seller
 * @Description: 商户申请
 */
@Data
@ApiModel(description = "商户入住入参")
public class SellerCommand {


    @ApiModelProperty(value = "商户名称",required = true)
    @NotBlank(message = "商户名称")
    private String sellerName;

    @ApiModelProperty(value = "商户地址",required = true)
    @NotBlank(message = "商户地址")
    private String address;
    /**
     * 联系人
     */
    @ApiModelProperty(value = "商户联系人",required = true)
    @NotBlank(message = "商户联系人")
    private String contacts;
    @ApiModelProperty(value = "商户电话",required = true)
    @NotBlank(message = "商户电话")
    private String mobile;

    /**
     * 商户logo
     */
    @ApiModelProperty(value = "商户店招",required = true)
    @NotBlank(message = "商户店招")
    private String url;

    /**
     * 商户简介
     */
    // @ApiModelProperty(value = "description",required = true)
    // @NotBlank(message = "description")
    // private String description;

    private String openId;
}
